export default {
    setAuth(state, data) {
        state.auth = data
    },
    setDeptList(state, data) {
        state.deptList = data
    },
    setDeptMap(state, data) {
        state.deptMap = data
    },
    setRoleList(state, data) {
        state.roleList = data
    },
    // 记录当前路由
    updateCurrentPath(state,payload){
        state.currentPath = payload
    }
}